package com.lam.mall.entity;

import javax.validation.constraints.Null;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lam.common.base.domain.BaseEntity;
import com.lam.common.validate.group.Add;

/**
 * 包邮城市对象 mall_trans_free_city
 * 
 * @author admin
 * @date 2023-04-21
 */
@TableName("mall_trans_free_city")
public class TransFreeCity implements BaseEntity{

    /** 主键 */
    @Null(groups = Add.class, message="id必须为空")
    @TableId(type = IdType.AUTO)
    private String id;
    
    /** 指定条件包邮项id */
    private String transFreeId;

    /** 城市id */
    private String cityId;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    } 

    public void setTransFreeId(String transFreeId) {
        this.transFreeId = transFreeId;
    }

    public String getTransFreeId() {
        return transFreeId;
    }    
    
    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityId() {
        return cityId;
    }    
    

}
